package ru.ksu.niimm.cll.transword.shared.services;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import ru.ksu.niimm.cll.transword.shared.dto.FixedExpressionDTO;

@RemoteServiceRelativePath("springGwtServices/fixedExpressionService")

public interface FixedExpressionService extends RemoteService {
	
	public FixedExpressionDTO findFixedExpression(int fixedExpressionId);
	public void saveFixedExpression(int fixedExpressionId, String name, String description, String usageStyle) throws Exception;
	public void updateFixedEXpression(int fixedExpressionId, String name, String description, String usageStyle) throws Exception;
	public void saveOrUpdateFixedExpression(int fixedExpressionId, String name, String description, String usageStyle) throws Exception;
	public void deleteFixedExpression(int fixedExpressionId) throws Exception;
}
